@import "../../../../style/modules/function";
@import "../../style-modules/index.wxss";

.zw {
    height: rpx(98);

    &.ipx {
        height: calc(#{rpx(98)} + 34px);
    }
}
.device-wrap{
    width: 100%;
    height: 100%;
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
}

.bottom-menu {
    width: 100%;
    position: fixed;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    background: white;
    font-size: rpx(22);
    color: #313131;

    &.ipx {
        padding-bottom: 34px;
    }


    .item {
        width: rpx(180);
        height: rpx(98);
        display: flex;
        flex-direction: column;
        align-items: center;

        &.active {
            color: #3598fe;
        }

        &.hover {
            background: #f7f7f7;
        }
    }

    .icon {
        width: rpx(44);
        height: rpx(44);
        overflow: hidden;
        margin-top: rpx(12);
    }

    .text {
        margin-top: rpx(4);
    }
}

.device-modal {
    width: 610rpx;
    height: 1080rpx;
    position: fixed;
    left: 50%;
    bottom: 110rpx;
    transform: translateX(-50%);
    padding: 40rpx;
    background: #1b1b1b;
    border-radius: 20rpx;

    &.ipx {
        bottom: calc(#{rpx(98)} + 34px);
    }

    .list {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: space-between;
    }

    .icon {
        width: rpx(220);
        height: rpx(220);
        display: block;
    }

    .item {
        flex: 0 0 rpx(170);
        padding: rpx(22) rpx(8);
        display: flex;
        flex-direction: column;
        align-items: center;
        color: #fff;
        font-size: rpx(32);
    }

    .text {
        width: 100%;
        white-space: normal;
        text-align: center;
        padding-top: rpx(10);
    }
}
